<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[id]" value="{$row.id|htmlentities}">
    <div class="form-group">
        <label for="c-photo" class="control-label col-xs-12 col-sm-2">头像:</label>
        <img src="{$row.photo|htmlentities}" />
    </div>
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">昵称:</label>
        <div class="col-xs-12 col-sm-4">
            <text class="nickname">{$row.nickname|htmlentities}</text>
        </div>
    </div>
    <div class="form-group">
        <label for="c-username" class="control-label col-xs-12 col-sm-2">用户名:</label>
        <div class="col-xs-12 col-sm-4">
            <text class="nickname">{$row.username|htmlentities}</text>
        </div>
    </div>
    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-2">手机号:</label>
        <div class="col-xs-12 col-sm-4">
            <text class="nickname">{$row.phone|htmlentities}</text>
        </div>
    </div>
    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-2">下单数:</label>
        <div class="col-xs-12 col-sm-4">
            <text class="nickname">{$row.order_num|htmlentities}</text>
        </div>
    </div>
    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-2">创建时间:</label>
        <div class="col-xs-12 col-sm-4">
            <text class="nickname">{$row.createtime|htmlentities}</text>
        </div>
    </div>
    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-2">更新时间:</label>
        <div class="col-xs-12 col-sm-4">
            <text class="nickname">{$row.updatetime|htmlentities}</text>
        </div>
    </div>
</form>
<style type="text/css">
    .form-group img {
        width: 150px;
    }
    .form-group label {
        margin-right: 50px;
    }
    .form-group text {
        display: block;
        padding-top: 7px;
    }
</style>
